package com.benmei.weike.service;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.benmei.weike.entity.VersionUpgrade;
import com.benmei.weike.dao.VersionUpgradeDao;

@Service
public class VersionUpgradeService{

    @Resource
    private VersionUpgradeDao versionUpgradeDao;

    public int insert(VersionUpgrade pojo){
        return versionUpgradeDao.insert(pojo);
    }

    public int insertSelective(VersionUpgrade pojo){
        return versionUpgradeDao.insertSelective(pojo);
    }

    public int insertList(List<VersionUpgrade> pojos){
        return versionUpgradeDao.insertList(pojos);
    }

    public int update(VersionUpgrade pojo){
        return versionUpgradeDao.update(pojo);
    }

    public VersionUpgrade appVersionUpgrade(VersionUpgrade versionUpgrade) {
        return versionUpgradeDao.find(versionUpgrade);
    }
}
